﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Serialization;
using PFMGlobals;

namespace PFMConfigurations
{
    public class TargetManager:ConfigurationManager<Target>
    {
        //public string TargetFile { get; private set; }
        //public List<Target> Items { get; set; }
        public TargetManager() { this.XmlFile =PFMDefinitions.CONFIGURATIONSDIR+ @"PFM-Config.xml"; }      
       
        public override  Target GetItem(object id)
        {
            return Items==null?null:Items.First(x => x.Id == (Guid)id);
         }
    }
}
